<template>
  <button @click="sendRequest">点击</button>
</template>

<script setup>
import request from "@/utils/request";

console.log(import.meta.env.BASE_URL)

const sendRequest=()=>{
  request.get('/user/list').then((res)=>{
    console.log('res:',res)
  })
}
</script>

<style scoped>
</style>